<template>
	<view>
		<view class="box">
			<view class="imgbox">
				<image src="../static/logo.png"></image>
			</view>
			<view class="infobox">
				<view class="namebox">
					江西特产煌上煌百味大礼包煌上煌鸭肉零食礼
					盒 酱鸭鸭脖鸭掌鸭翅鸭舌酱
				</view>
				<view class="specbox">
					精萃水150ml
				</view>
				<view class="actbox">
					<view class="pricebox">
						<text style="font-size: 24rpx;">￥</text>
						<text>29.00</text>
						<text style="text-decoration: line-through;font-size: 20rpx;color: #888888;margin-left: 12rpx;">￥36.00</text>
					</view>
					<view class="buybox">
						立即购买
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"goodslists",
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
	.box{
		width: 690rpx;
		height: 592rpx;
		background: #FFFFFF;
		border-radius: 20rpx;
		margin: 0 auto;
		.imgbox{
			width: 690rpx;
			height: 346rpx;
			border-radius: 16rpx 16rpx 0rpx 0rpx;
			image{
				width: 690rpx;
				height: 346rpx;
				border-radius: 16rpx 16rpx 0rpx 0rpx;
			}
		}
		.infobox{
			width: 640rpx;
			margin: 0 auto;
			.namebox{
				font-size: 32rpx;
				font-family: Source Han Sans CN-Medium, Source Han Sans CN;
				font-weight: 500;
				color: #222222;
				-webkit-line-clamp: 2;
				display: -webkit-box;
				-webkit-box-orient: vertical;
				overflow: hidden;
				text-overflow: ellipsis;
			}
			.specbox{
				font-size: 28rpx;
				font-family: Source Han Sans CN-Regular, Source Han Sans CN;
				font-weight: 400;
				color: #555555;
				margin-top: 24rpx;
			}
			.actbox{
				display: flex;
				align-items: center;
				justify-content: space-between;
				.pricebox{
					font-size: 40rpx;
					font-family: SourceHanSansCN-Medium-, SourceHanSansCN-Medium;
					font-weight: normal;
					color: #F94D29;
				}
				.buybox{
					width: 170rpx;
					height: 76rpx;
					background: linear-gradient(180deg, #F99829 0%, #F99529 4%, #F94D29 100%, #F95B29 100%);
					border-radius: 38rpx;
					font-size: 28rpx;
					font-family: Source Han Sans CN-Medium, Source Han Sans CN;
					font-weight: 500;
					color: #FFFFFF;
					line-height: 76rpx;
					text-align: center;
				}
			}
		}
	}

</style>